package com.ruoyi.seal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 简单用印对象 seal_jy
 *
 * @author zy
 * @date 2022-11-17
 */
public class SealJy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用印流水号 */
    private String sealId;

    /** 申请人id */
    private Long userId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String userName;

    /** 申请人部门 */
    @Excel(name = "申请人部门")
    private String userDept;

    /** 申请印章类别 */
    @Excel(name = "申请印章类别")
    private String sealType;

    /**
     * 文件份数
     */
    @Excel(name = "文件份数")
    private int fileNum;

    /** 标题或事由 */
    @Excel(name = "标题或事由")
    private String sealTitle;

    /** 上传附件 */
    private String sealFile;

    /** 申请人备注 */
    private String sealRemarks;

    /**
     * 创建时间
     */
    @Excel(name = "申请日期", width = 15, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 状态：0正常，1取消 */
    @Excel(name = "状态",readConverterExp = "0=正常,1=取消")
    private Long deleted;

    public void setSealId(String sealId)
    {
        this.sealId = sealId;
    }

    public String getSealId()
    {
        return sealId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserDept(String userDept)
    {
        this.userDept = userDept;
    }

    public String getUserDept()
    {
        return userDept;
    }
    public void setSealType(String sealType)
    {
        this.sealType = sealType;
    }

    public String getSealType()
    {
        return sealType;
    }
    public void setSealTitle(String sealTitle)
    {
        this.sealTitle = sealTitle;
    }

    public String getSealTitle()
    {
        return sealTitle;
    }
    public void setSealFile(String sealFile)
    {
        this.sealFile = sealFile;
    }

    public String getSealFile()
    {
        return sealFile;
    }
    public void setSealRemarks(String sealRemarks)
    {
        this.sealRemarks = sealRemarks;
    }

    public String getSealRemarks()
    {
        return sealRemarks;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getFileNum() {
        return fileNum;
    }

    public void setFileNum(int fileNum) {
        this.fileNum = fileNum;
    }

    @Override
    public String toString() {
        return "SealJy{" +
                "sealId='" + sealId + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userDept='" + userDept + '\'' +
                ", sealType='" + sealType + '\'' +
                ", fileNum=" + fileNum +
                ", sealTitle='" + sealTitle + '\'' +
                ", sealFile='" + sealFile + '\'' +
                ", sealRemarks='" + sealRemarks + '\'' +
                ", createTime=" + createTime +
                ", deleted=" + deleted +
                '}';
    }
}
